package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeHisOpPos implements Serializable {
    private Long opId;

    private Long accId;

    private Long workerId;

    private String opType;

    private String targetCode;

    private Integer feeAround;

    private Long tradePrice;

    private Long priceAround;

    private Long tradeNum;

    private Long numAround;

    private String opTime;

    private String delFlg;

    private Long fee;

    private static final long serialVersionUID = 1L;

    public Long getOpId() {
        return opId;
    }

    public void setOpId(Long opId) {
        this.opId = opId;
    }

    public Long getAccId() {
        return accId;
    }

    public void setAccId(Long accId) {
        this.accId = accId;
    }

    public Long getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Long workerId) {
        this.workerId = workerId;
    }

    public String getOpType() {
        return opType;
    }

    public void setOpType(String opType) {
        this.opType = opType == null ? null : opType.trim();
    }

    public String getTargetCode() {
        return targetCode;
    }

    public void setTargetCode(String targetCode) {
        this.targetCode = targetCode == null ? null : targetCode.trim();
    }

    public Integer getFeeAround() {
        return feeAround;
    }

    public void setFeeAround(Integer feeAround) {
        this.feeAround = feeAround;
    }

    public Long getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(Long tradePrice) {
        this.tradePrice = tradePrice;
    }

    public Long getPriceAround() {
        return priceAround;
    }

    public void setPriceAround(Long priceAround) {
        this.priceAround = priceAround;
    }

    public Long getTradeNum() {
        return tradeNum;
    }

    public void setTradeNum(Long tradeNum) {
        this.tradeNum = tradeNum;
    }

    public Long getNumAround() {
        return numAround;
    }

    public void setNumAround(Long numAround) {
        this.numAround = numAround;
    }

    public String getOpTime() {
        return opTime;
    }

    public void setOpTime(String opTime) {
        this.opTime = opTime == null ? null : opTime.trim();
    }

    public String getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(String delFlg) {
        this.delFlg = delFlg == null ? null : delFlg.trim();
    }

    public Long getFee() {
        return fee;
    }

    public void setFee(Long fee) {
        this.fee = fee;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", opId=").append(opId);
        sb.append(", accId=").append(accId);
        sb.append(", workerId=").append(workerId);
        sb.append(", opType=").append(opType);
        sb.append(", targetCode=").append(targetCode);
        sb.append(", feeAround=").append(feeAround);
        sb.append(", tradePrice=").append(tradePrice);
        sb.append(", priceAround=").append(priceAround);
        sb.append(", tradeNum=").append(tradeNum);
        sb.append(", numAround=").append(numAround);
        sb.append(", opTime=").append(opTime);
        sb.append(", delFlg=").append(delFlg);
        sb.append(", fee=").append(fee);
        sb.append("]");
        return sb.toString();
    }
}